Skip to content

Conversation

@dinasaur404
Copy link
Contributor

Summary

Added a new page to the Agents documentation to show how customers how they can build an MCP server on Cloudflare Workers.

Screenshots (optional)

image

Documentation checklist

@dinasaur404 dinasaur404 requested a review from a team as a code owner February 3, 2025 19:09
Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 files reviewed, 3 total issue(s) found.

dinasaur404 and others added 3 commits February 3, 2025 14:10
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Copy link
Contributor

@irvinebroque irvinebroque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@geelen for 👀 and then let's ship it

Does feel like need some callout about being local only today, remote soon.

## Building an MCP Server on Cloudflare Workers

Normally, setting up an MCP server requires handling infrastructure, API routing, and understanding the MCP protocol. But with [Cloudflare Workers](/workers/), all the heavy lifting is done for you, so all you need to do is define your service's functionality.
Once deployed, your Worker becomes an MCP server that AI assistants (as long as they support MCP) can connect to and use to interact with your service.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to caveat local only somewhere early?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are currently only local MCP clients, so it's not really necessary to specify right now. But as long as we update the workers-mcp package when remote MCP drops I think this documentation can stay unchanged?

@github-actions github-actions bot added product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. size/m labels Feb 3, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 3, 2025

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6c3dcb1
Status: ✅  Deploy successful!
Preview URL: https://1daa0227.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://add-mcp-page.cloudflare-docs-7ou.pages.dev

View logs

Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 files reviewed, 1 total issue(s) found.

Updated wrangler commands for installing wrangler and creating new worker
Added step 3 - configuring the worker to support MCP
@dinasaur404 dinasaur404 merged commit c57a382 into production Feb 5, 2025
12 checks passed
@dinasaur404 dinasaur404 deleted the add-mcp-page branch February 5, 2025 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants